package com.smkj.kaoqin.modules.student.api;


import com.smkj.kaoqin.common.result.VResponse;
import com.smkj.kaoqin.common.utils.BaseContext;
import com.smkj.kaoqin.modules.student.mapper.StudentMapper;
import com.smkj.kaoqin.modules.student.pojo.vo.ClassVO;
import com.smkj.kaoqin.modules.student.service.IStudentService;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 学生表 前端控制器
 * </p>
 *
 * @author yztyear
 * @since 2024-09-11
 */
@Tag(name = "学生管理接口")
@RestController
@RequestMapping("/student")
public class StudentController {
    @Autowired
    private IStudentService studentService;
    @GetMapping("/queryClass")
    public VResponse<ClassVO> queryClass() {

        return studentService.queryClass();
    }

}
